/* 初始化样式
------------------------------- */

* {
  box-sizing: border-box;
  outline: none !important;
  &::-webkit-scrollbar {
    display: none;
    width: 2px;
    height: 2px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: rgba(#282c34, 0.1);
    border: 1px solid transparent;
    border-radius: 7px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(#282c34, 0.2);
  }
}

:root {
  --yang-theme-color: #1890ff;
  --yang-bg-color: #f6f8f9;
  --yang-menu-shadow: 0 1px 4px rgb(0 21 41 / 8%);
  /* 一级菜单
	------------------------------- */
  --yang-menu-navone-width: 80px;
  --yang-menu-navone-bg-color: #282c34;
  --yang-menu-navone-text-color: #ffffff;
  --yang-menu-navone-card-width: 54px;
  --yang-menu-navone-card-height: 54px;
  --yang-menu-navone-card-radius: 7px;
  --yang-menu-navone-card-active-bg-color: #1890ff;
  --yang-menu-navone-card-active-text-color: #ffffff;
  /* 二级菜单
	------------------------------- */
  --yang-menu-navtwo-width: 240px;
  --yang-menu-navtwo-bg-color: #ffffff;
  --yang-menu-navtwo-text-color: #515a6e;
  --yang-menu-navtwo-card-radius: 5px;
  --yang-menu-navtwo-card-active-bg-color: #e8f4ff;
  --yang-menu-navtwo-card-active-text-color: #1890ff;
  --yang-menu-navtwo-title-color: #515a6e;
  --yang-menu-navtwo-line-color: #c5bfad;
  --yang-menu-navtwo-line-height: 1px;
  --yang-menu-navtwo-line-text-color: #c5bfad;
  /* 顶部导航栏
	------------------------------- */
  --yang-menu-navtop-bg-color: #ffffff;
  --yang-menu-navtop-text-color: #606266;
  --yang-menu-navtop-suo-text-color: #409eff;
}

.tox-tinymce-aux {
  z-index: 13000 !important;
}

.w-full {
  width: 100%;
}

/* 页面页面
  ------------------------------- */
.list-page {
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  &-search {
    background: #fff;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 20px 20px 0 20px;
    margin-bottom: 16px;
  }
  &-main {
    flex: 1;
    background: #fff;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
  }
}

/* 编辑弹框
  ------------------------------- */
.edit-dia {
  width: 500px;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  .content {
    padding-top: 20px;
  }
  .tools {
    display: flex;
    justify-content: flex-end;
  }
}

/* 卡片
  ------------------------------- */
.y-card {
  border-radius: 4px;
  border: 1px solid #e4e7ed;
  background-color: #ffffff;
  overflow: hidden;
  color: #303133;
  transition: 0.3s;
  &:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  }
}

.w-e-full-screen-container {
  z-index: 10;
}
